package com.yc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("tb_food_reviews")
public class ReviewBean {
    @TableId(type = IdType.AUTO)
    Integer id;
    Integer userid;
    Integer foodid;
    @TableField("review_text")
    String review_text;
    @TableField("review_image_url")
    String review_image_url;
    @TableField("createdate")
    Timestamp createdate;
    @TableField("star")
    Integer star;
    @TableField("disabled")
    Integer disabled;
}

